FROM mysql:8

RUN mkdir -p /mysql
COPY ./db/init_db.sql /mysql
COPY ./db/setup.sh /docker-entrypoint-initdb.d

RUN chmod a+x /docker-entrypoint-initdb.d/setup.sh
